-- GENERATED SPELL FOR [Hand of Argus Swordsman] --


function spell0_17704(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(9128,pUnit)
pUnit:RegisterEvent('Sorts_17704', 585, 1)
end

function spell1_17704(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17704', 601, 1)
end

function Sorts_17704(pUnit, Event)
local choix_sorts_17704 = math.random(0, 1)
if choix_sorts_17704 == 0 then
pUnit:RegisterEvent('spell0_17704', 1, 1)
end
if choix_sorts_17704 == 1 then
pUnit:RegisterEvent('spell1_17704', 1, 1)
end
end

function mob17704_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17704', math.random(1500, 3000), 1)
end

function mob17704_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17704_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17704_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17704, 1, 'mob17704_Action')
RegisterUnitEvent(17704, 2, 'mob17704_Leave')
RegisterUnitEvent(17704, 3, 'mob17704_Kill')
RegisterUnitEvent(17704, 4, 'mob17704_Die')
